package com.example.mallone11.Consumer.service;

import com.example.mallone11.Consumer.pojo.Consumer;

public interface ConsumerService {
    //注册
    int register(String account,String passwd);
    //登录
    Consumer login(String account, String passwd);
    //账号是否被注册过
    Consumer findByAccount(String account);

}
